﻿using UnityEngine;
using System.Collections;

public class MainMenu : MonoBehaviour {

	public Yabs PlayBttn, ExitBttn;

    void Awake() {
        PlayBttn.CallBack = play;
        ExitBttn.CallBack = exit;
    }

    void play() {
        Application.LoadLevel("Main");
    }

    void exit() {

        Application.Quit();
    }
}
